package io.renren.midplat.fuseclick.model;

import java.util.List;

/**
 * @Description
 * @Author haijun.zhang@luckincoffee.com
 * @Date 2018-08-06 21:12
 **/
public class OfferGeoDTO {

    /**
     * type_msg : Include-Country
     * type : 1
     * target : [{"country":"Germany","country_code":"DE","city":[],"type_msg":"Include-City","type":1}]
     */

    private String type_msg;
    private int type;
    private List<TargetBean> target;

    public String getType_msg() {
        return type_msg;
    }

    public void setType_msg(String type_msg) {
        this.type_msg = type_msg;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public List<TargetBean> getTarget() {
        return target;
    }

    public void setTarget(List<TargetBean> target) {
        this.target = target;
    }

    public static class TargetBean {
        /**
         * country : Germany
         * country_code : DE
         * city : []
         * type_msg : Include-City
         * type : 1
         */

        private String country;
        private String country_code;
        private String type_msg;
        private int type;
        private List<?> city;

        public String getCountry() {
            return country;
        }

        public void setCountry(String country) {
            this.country = country;
        }

        public String getCountry_code() {
            return country_code;
        }

        public void setCountry_code(String country_code) {
            this.country_code = country_code;
        }

        public String getType_msg() {
            return type_msg;
        }

        public void setType_msg(String type_msg) {
            this.type_msg = type_msg;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public List<?> getCity() {
            return city;
        }

        public void setCity(List<?> city) {
            this.city = city;
        }

        @Override
        public String toString() {
            return "TargetBean{" +
                    "country='" + country + '\'' +
                    ", country_code='" + country_code + '\'' +
                    ", type_msg='" + type_msg + '\'' +
                    ", type=" + type +
                    ", city=" + city +
                    '}';
        }
    }
}
